<!DOCTYPE html>
<html>
<head>
    <title>Bootstrap改变表单控件的样式</title>
    <meta charset="UTF-8">
    <meta http-equiv="x-ua-compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
</head>
<style>
    .form-control{
        background: pink;
    }
</style>
<body>
<form class="form-horizontal" role="form">
    <input class="form-control
input-lg"type="text"placeholder=".input-lg">
    <input class="form-control" type="text"placeholder="Defaultinput">
    <div class="col-lg-3">
        <input class="form-control input-lg" type="text"
               placeholder="input-lg col-lg-3"></p>
    </div>
    <input class="form-control input-sm" type="text"
           placeholder="input-sm"></p>
</form>
</body>
</html>
